<template>
  <demoBlock title="限制上传数量" padding>
    <vcu-uploader v-model="fileList" :max-count="2" />
  </demoBlock>
</template>

<script>
import { defineComponent, ref } from "vue";

export default defineComponent({
  setup() {
    const fileList = ref([]);
    
    return {
      fileList,
    };
  },
});
</script>
